package com.tang.common.exception;

public class RecruitException extends  RuntimeException {
    private Integer code;
    private String msg;

    public RecruitException(RecruitExceptionEnum mallExceptionEnum) {
        this.code = mallExceptionEnum.getCode();
        this.msg = mallExceptionEnum.getMsg();
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
